.class Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;
.super Lcom/burstly/lib/component/networkcomponent/AbstractNetworkConfigurator;
.source "InmobiConfigurator.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/burstly/lib/component/networkcomponent/AbstractNetworkConfigurator",
        "<",
        "Lcom/inmobi/androidsdk/IMAdRequest;",
        ">;"
    }
.end annotation


# static fields
.field public static final IS_INTERSTITIAL:Ljava/lang/String; = "isInterstitial"

.field private static final LOG:Lcom/burstly/lib/util/LoggerExt; = null

.field public static final LOG_LEVEL:Ljava/lang/String; = "logLevel"

.field public static final LOG_LEVEL_VERBOSE:Ljava/lang/String; = "verbose"

.field private static final TAG:Ljava/lang/String; = null

.field public static final TEST_MODE:Ljava/lang/String; = "testMode"


# instance fields
.field private mAdUnit:I

.field private mAge:I

.field private mAppId:Ljava/lang/String;

.field private mAreaCode:Ljava/lang/String;

.field private mCity:Ljava/lang/String;

.field private mCountry:Ljava/lang/String;

.field private mDateOfBirth:Ljava/util/Date;

.field private mDeviceIdMask:I

.field private mEducationType:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

.field private mEthnicityType:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

.field private mGenderType:Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

.field private mIdType:Lcom/inmobi/androidsdk/IMAdRequest$IMIDType;

.field private mIdTypeValue:Ljava/lang/String;

.field private mIncome:I

.field private mInterests:Ljava/lang/String;

.field private mIsInterstitial:Z

.field private mIsLocationAllowed:Z

.field private mIsTestMode:Z

.field private mKeywords:Ljava/lang/String;

.field private mLogLevel:Ljava/lang/String;

.field private mPostalCode:Ljava/lang/String;

.field private mSearchString:Ljava/lang/String;

.field private mState:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 48
    invoke-static {}, Lcom/burstly/lib/util/LoggerExt;->getInstance()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->LOG:Lcom/burstly/lib/util/LoggerExt;

    .line 53
    const-class v0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->TAG:Ljava/lang/String;

    return-void
.end method

.method constructor <init>()V
    .locals 0

    .prologue
    .line 204
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/AbstractNetworkConfigurator;-><init>()V

    .line 205
    return-void
.end method

.method private static enableProperLogLevel(Ljava/lang/String;)V
    .locals 1
    .parameter "logLevel"

    .prologue
    .line 362
    const-string v0, "verbose"

    invoke-virtual {v0, p0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 363
    sget-object v0, Lcom/inmobi/commons/IMCommonUtil$LOG_LEVEL;->DEBUG:Lcom/inmobi/commons/IMCommonUtil$LOG_LEVEL;

    invoke-static {v0}, Lcom/inmobi/commons/IMCommonUtil;->setLogLevel(Lcom/inmobi/commons/IMCommonUtil$LOG_LEVEL;)V

    .line 367
    :goto_0
    return-void

    .line 365
    :cond_0
    sget-object v0, Lcom/inmobi/commons/IMCommonUtil$LOG_LEVEL;->NONE:Lcom/inmobi/commons/IMCommonUtil$LOG_LEVEL;

    invoke-static {v0}, Lcom/inmobi/commons/IMCommonUtil;->setLogLevel(Lcom/inmobi/commons/IMCommonUtil$LOG_LEVEL;)V

    goto :goto_0
.end method

.method private extractCityStateCountryLocation(Ljava/util/Map;)V
    .locals 4
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .prologue
    .line 394
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    const-string v3, "city"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 395
    .local v0, city:Ljava/lang/String;
    const-string v3, "state"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 396
    .local v2, state:Ljava/lang/String;
    const-string v3, "country"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 397
    .local v1, country:Ljava/lang/String;
    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_0

    if-eqz v2, :cond_0

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_0

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_0

    .line 399
    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mCity:Ljava/lang/String;

    .line 400
    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mState:Ljava/lang/String;

    .line 401
    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mCountry:Ljava/lang/String;

    .line 403
    :cond_0
    return-void
.end method

.method private extractIdType(Ljava/util/Map;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .prologue
    .line 375
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    const-string v2, "idType"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 376
    .local v0, idType:Ljava/lang/String;
    const-string v2, "idTypeValue"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 377
    .local v1, idTypeValue:Ljava/lang/String;
    if-eqz v0, :cond_0

    if-eqz v1, :cond_0

    .line 379
    :try_start_0
    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/inmobi/androidsdk/IMAdRequest$IMIDType;->valueOf(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$IMIDType;

    move-result-object v2

    iput-object v2, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIdType:Lcom/inmobi/androidsdk/IMAdRequest$IMIDType;

    .line 380
    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIdTypeValue:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0

    .line 386
    :cond_0
    :goto_0
    return-void

    .line 382
    :catch_0
    move-exception v2

    goto :goto_0
.end method

.method private getAdUnitCode(Ljava/lang/String;)I
    .locals 1
    .parameter "adUnit"

    .prologue
    .line 414
    const-string v0, "120x600"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 415
    const/16 v0, 0xd

    .line 425
    :goto_0
    return v0

    .line 416
    :cond_0
    const-string v0, "300x250"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 417
    const/16 v0, 0xa

    goto :goto_0

    .line 418
    :cond_1
    const-string v0, "468x60"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 419
    const/16 v0, 0xc

    goto :goto_0

    .line 420
    :cond_2
    const-string v0, "728x90"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 421
    const/16 v0, 0xb

    goto :goto_0

    .line 422
    :cond_3
    const-string v0, "320x48"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 423
    const/16 v0, 0x9

    goto :goto_0

    .line 425
    :cond_4
    const/16 v0, 0xf

    goto :goto_0
.end method

.method private static getDeviceId(Ljava/lang/String;)I
    .locals 7
    .parameter "deviceIdString"

    .prologue
    .line 435
    invoke-static {}, Lcom/inmobi/commons/IMCommonUtil;->getDeviceIdMask()I

    move-result v3

    .line 436
    .local v3, deviceIdMask:I
    move v0, v3

    .line 437
    .local v0, deviceId:I
    if-eqz p0, :cond_0

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v6

    if-lez v6, :cond_0

    .line 438
    const/4 v0, 0x0

    .line 439
    const-string v6, ","

    invoke-virtual {p0, v6}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v4

    .line 441
    .local v4, deviceIdParams:Ljava/util/List;,"Ljava/util/List<Ljava/lang/String;>;"
    invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v5

    .local v5, i$:Ljava/util/Iterator;
    :goto_0
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v6

    if-eqz v6, :cond_0

    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 442
    .local v1, deviceIdItem:Ljava/lang/String;
    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    invoke-static {v1, v6}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/Integer;->intValue()I

    move-result v2

    .line 443
    .local v2, deviceIdItemInt:I
    if-ne v2, v3, :cond_1

    .line 446
    move v0, v3

    .line 452
    .end local v1           #deviceIdItem:Ljava/lang/String;
    .end local v2           #deviceIdItemInt:I
    .end local v4           #deviceIdParams:Ljava/util/List;,"Ljava/util/List<Ljava/lang/String;>;"
    .end local v5           #i$:Ljava/util/Iterator;
    :cond_0
    return v0

    .line 449
    .restart local v1       #deviceIdItem:Ljava/lang/String;
    .restart local v2       #deviceIdItemInt:I
    .restart local v4       #deviceIdParams:Ljava/util/List;,"Ljava/util/List<Ljava/lang/String;>;"
    .restart local v5       #i$:Ljava/util/Iterator;
    :cond_1
    or-int/2addr v0, v2

    goto :goto_0
.end method

.method private static getEducationType(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$EducationType;
    .locals 2
    .parameter "educationType"

    .prologue
    const/4 v0, 0x0

    .line 462
    if-nez p0, :cond_1

    .line 481
    :cond_0
    :goto_0
    return-object v0

    .line 464
    :cond_1
    const-string v1, "bachelor"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 465
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_BachelorsDegree:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 466
    :cond_2
    const-string v1, "doctor"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 467
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_DoctoralDegree:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 468
    :cond_3
    const-string v1, "highschool"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 469
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_HighSchool:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 470
    :cond_4
    const-string v1, "inCollege"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 471
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_InCollege:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 472
    :cond_5
    const-string v1, "master"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 473
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_MastersDegree:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 474
    :cond_6
    const-string v1, "other"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_7

    .line 475
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_Other:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 476
    :cond_7
    const-string v1, "someCollege"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_8

    .line 477
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_SomeCollege:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 478
    :cond_8
    const-string v1, "none"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 479
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_None:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0
.end method

.method private static getEducationTypeFromClient(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$EducationType;
    .locals 2
    .parameter "educationType"

    .prologue
    const/4 v0, 0x0

    .line 491
    if-nez p0, :cond_1

    .line 511
    :cond_0
    :goto_0
    return-object v0

    .line 493
    :cond_1
    const-string v1, "bachelor"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 494
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_BachelorsDegree:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 495
    :cond_2
    const-string v1, "doctor"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 496
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_DoctoralDegree:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 497
    :cond_3
    const-string v1, "highschool"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 498
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_HighSchool:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 499
    :cond_4
    const-string v1, "inCollege"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 500
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_InCollege:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 501
    :cond_5
    const-string v1, "master"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 502
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_MastersDegree:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 503
    :cond_6
    const-string v1, "other"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_7

    const-string v1, "professional"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_8

    .line 505
    :cond_7
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_Other:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 506
    :cond_8
    const-string v1, "someCollege"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_9

    .line 507
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_SomeCollege:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0

    .line 508
    :cond_9
    const-string v1, "none"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 509
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EducationType;->Edu_None:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    goto :goto_0
.end method

.method private static getEthnicityType(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;
    .locals 2
    .parameter "ethnicityType"

    .prologue
    const/4 v0, 0x0

    .line 521
    if-nez p0, :cond_1

    .line 540
    :cond_0
    :goto_0
    return-object v0

    .line 523
    :cond_1
    const-string v1, "asian"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 524
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_Asian:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 525
    :cond_2
    const-string v1, "black"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 526
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_Black:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 527
    :cond_3
    const-string v1, "hispanic"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 528
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_Hispanic:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 529
    :cond_4
    const-string v1, "mixed"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 530
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_Mixed:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 531
    :cond_5
    const-string v1, "nativeAmerican"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 532
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_NativeAmerican:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 533
    :cond_6
    const-string v1, "other"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_7

    .line 534
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_Other:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 535
    :cond_7
    const-string v1, "white"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_8

    .line 536
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_White:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 537
    :cond_8
    const-string v1, "none"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 538
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_None:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0
.end method

.method private static getEthnicityTypeFromClient(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;
    .locals 2
    .parameter "ethnicityType"

    .prologue
    const/4 v0, 0x0

    .line 550
    if-nez p0, :cond_1

    .line 572
    :cond_0
    :goto_0
    return-object v0

    .line 552
    :cond_1
    const-string v1, "asian"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 553
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_Asian:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 554
    :cond_2
    const-string v1, "black"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 555
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_Black:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 556
    :cond_3
    const-string v1, "hispanic"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 557
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_Hispanic:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 558
    :cond_4
    const-string v1, "mixed"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 559
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_Mixed:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 560
    :cond_5
    const-string v1, "nativeAmerican"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 561
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_NativeAmerican:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 562
    :cond_6
    const-string v1, "other"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_7

    const-string v1, "indian"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_7

    const-string v1, "middleEastern"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_7

    const-string v1, "pacificIslander"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_8

    .line 566
    :cond_7
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_Other:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 567
    :cond_8
    const-string v1, "white"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_9

    .line 568
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_White:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0

    .line 569
    :cond_9
    const-string v1, "none"

    invoke-virtual {p0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 570
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;->Eth_None:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    goto :goto_0
.end method

.method private static getGenderType(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$GenderType;
    .locals 1
    .parameter "genderType"

    .prologue
    .line 582
    if-nez p0, :cond_0

    .line 583
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$GenderType;->NONE:Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

    .line 589
    :goto_0
    return-object v0

    .line 584
    :cond_0
    const-string v0, "female"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 585
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$GenderType;->FEMALE:Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

    goto :goto_0

    .line 586
    :cond_1
    const-string v0, "male"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 587
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$GenderType;->MALE:Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

    goto :goto_0

    .line 589
    :cond_2
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$GenderType;->NONE:Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

    goto :goto_0
.end method

.method private setAdSize(Ljava/util/Map;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .prologue
    .line 348
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    const-string v2, "adSizeCodeValue"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 349
    .local v0, defaultAdSize:Ljava/lang/Object;
    check-cast v0, Ljava/lang/String;

    .end local v0           #defaultAdSize:Ljava/lang/Object;
    invoke-direct {p0, v0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->getAdUnitCode(Ljava/lang/String;)I

    move-result v2

    iput v2, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAdUnit:I

    .line 350
    const-string v2, "adUnit"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .line 351
    .local v1, serverAdSize:Ljava/lang/Object;
    if-eqz v1, :cond_0

    .line 352
    check-cast v1, Ljava/lang/String;

    .end local v1           #serverAdSize:Ljava/lang/Object;
    invoke-direct {p0, v1}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->getAdUnitCode(Ljava/lang/String;)I

    move-result v2

    iput v2, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAdUnit:I

    .line 354
    :cond_0
    return-void
.end method

.method private setInterstitial(Ljava/util/Map;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .prologue
    .line 332
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    const-string v2, "isCodeValueInterstitial"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    .line 333
    .local v0, defaultInterstitial:Ljava/lang/Object;
    if-eqz v0, :cond_0

    .line 334
    check-cast v0, Ljava/lang/Boolean;

    .end local v0           #defaultInterstitial:Ljava/lang/Object;
    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    iput-boolean v2, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIsInterstitial:Z

    .line 336
    :cond_0
    const-string v2, "isInterstitial"

    invoke-interface {p1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    .line 337
    .local v1, serverInterstitial:Ljava/lang/Object;
    if-eqz v1, :cond_1

    .line 338
    check-cast v1, Ljava/lang/String;

    .end local v1           #serverInterstitial:Ljava/lang/Object;
    invoke-static {v1}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v2

    iput-boolean v2, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIsInterstitial:Z

    .line 340
    :cond_1
    return-void
.end method


# virtual methods
.method protected applyClientTargetingParamsToNetwork(Ljava/util/Map;)V
    .locals 5
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 251
    .local p1, clientTargetingParams:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    const-string v3, "dateOfBirth"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 252
    .local v2, val:Ljava/lang/String;
    if-eqz v2, :cond_0

    .line 253
    const-string v3, "dd-MM-yyyy"

    invoke-static {v2, v3}, Lcom/burstly/lib/util/Utils;->getDateFromString(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Date;

    move-result-object v1

    .line 254
    .local v1, date:Ljava/util/Date;
    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mDateOfBirth:Ljava/util/Date;

    .line 255
    if-eqz v1, :cond_0

    .line 257
    :try_start_0
    invoke-static {v1}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->getAge(Ljava/util/Date;)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 258
    .local v0, age:I
    iput v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAge:I
    :try_end_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0

    .line 265
    .end local v0           #age:I
    .end local v1           #date:Ljava/util/Date;
    :cond_0
    :goto_0
    const-string v3, "areaCode"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    iput-object v3, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAreaCode:Ljava/lang/String;

    .line 266
    const-string v3, "educationType"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-static {v3}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->getEducationTypeFromClient(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    move-result-object v3

    iput-object v3, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mEducationType:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    .line 267
    const-string v3, "ethnicityType"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-static {v3}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->getEthnicityTypeFromClient(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    move-result-object v3

    iput-object v3, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mEthnicityType:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    .line 268
    const-string v3, "gender"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-static {v3}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->getGenderType(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

    move-result-object v3

    iput-object v3, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mGenderType:Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

    .line 269
    const-string v3, "income"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    const/4 v4, -0x1

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-static {v3, v4}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    iput v3, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIncome:I

    .line 270
    const-string v3, "keyWords"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .end local v2           #val:Ljava/lang/String;
    check-cast v2, Ljava/lang/String;

    .line 271
    .restart local v2       #val:Ljava/lang/String;
    if-eqz v2, :cond_1

    .line 272
    const/16 v3, 0x20

    const/16 v4, 0x2c

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replace(CC)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mKeywords:Ljava/lang/String;

    .line 274
    :cond_1
    const-string v3, "postalCode"

    invoke-interface {p1, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    iput-object v3, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mPostalCode:Ljava/lang/String;

    .line 275
    return-void

    .line 260
    .restart local v1       #date:Ljava/util/Date;
    :catch_0
    move-exception v3

    goto :goto_0
.end method

.method public configure(Lcom/inmobi/androidsdk/IMAdRequest;)V
    .locals 5
    .parameter "adRequest"

    .prologue
    const/4 v4, -0x1

    .line 279
    iget v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAge:I

    if-eq v1, v4, :cond_0

    .line 280
    iget v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAge:I

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setAge(I)V

    .line 282
    :cond_0
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAreaCode:Ljava/lang/String;

    if-eqz v1, :cond_1

    .line 283
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAreaCode:Ljava/lang/String;

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setAreaCode(Ljava/lang/String;)V

    .line 285
    :cond_1
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mCity:Ljava/lang/String;

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mState:Ljava/lang/String;

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mCountry:Ljava/lang/String;

    if-eqz v1, :cond_2

    .line 286
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mCity:Ljava/lang/String;

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mState:Ljava/lang/String;

    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mCountry:Ljava/lang/String;

    invoke-virtual {p1, v1, v2, v3}, Lcom/inmobi/androidsdk/IMAdRequest;->setLocationWithCityStateCountry(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 288
    :cond_2
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mDateOfBirth:Ljava/util/Date;

    if-eqz v1, :cond_3

    .line 289
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    .line 290
    .local v0, cal:Ljava/util/Calendar;
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mDateOfBirth:Ljava/util/Date;

    invoke-virtual {v0, v1}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    .line 291
    invoke-virtual {p1, v0}, Lcom/inmobi/androidsdk/IMAdRequest;->setDateOfBirth(Ljava/util/Calendar;)V

    .line 293
    .end local v0           #cal:Ljava/util/Calendar;
    :cond_3
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mEducationType:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    if-eqz v1, :cond_4

    .line 294
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mEducationType:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setEducation(Lcom/inmobi/androidsdk/IMAdRequest$EducationType;)V

    .line 296
    :cond_4
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mEthnicityType:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    if-eqz v1, :cond_5

    .line 297
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mEthnicityType:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setEthnicity(Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;)V

    .line 299
    :cond_5
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIdType:Lcom/inmobi/androidsdk/IMAdRequest$IMIDType;

    if-eqz v1, :cond_6

    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIdTypeValue:Ljava/lang/String;

    if-eqz v1, :cond_6

    .line 300
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIdType:Lcom/inmobi/androidsdk/IMAdRequest$IMIDType;

    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIdTypeValue:Ljava/lang/String;

    invoke-virtual {p1, v1, v2}, Lcom/inmobi/androidsdk/IMAdRequest;->addIDType(Lcom/inmobi/androidsdk/IMAdRequest$IMIDType;Ljava/lang/String;)V

    .line 302
    :cond_6
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mGenderType:Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

    if-eqz v1, :cond_7

    .line 303
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mGenderType:Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setGender(Lcom/inmobi/androidsdk/IMAdRequest$GenderType;)V

    .line 305
    :cond_7
    iget v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIncome:I

    if-eq v1, v4, :cond_8

    .line 306
    iget v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIncome:I

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setIncome(I)V

    .line 308
    :cond_8
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mInterests:Ljava/lang/String;

    if-eqz v1, :cond_9

    .line 309
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mInterests:Ljava/lang/String;

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setInterests(Ljava/lang/String;)V

    .line 311
    :cond_9
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mKeywords:Ljava/lang/String;

    if-eqz v1, :cond_a

    .line 312
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mKeywords:Ljava/lang/String;

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setKeywords(Ljava/lang/String;)V

    .line 314
    :cond_a
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mPostalCode:Ljava/lang/String;

    if-eqz v1, :cond_b

    .line 315
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mPostalCode:Ljava/lang/String;

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setPostalCode(Ljava/lang/String;)V

    .line 317
    :cond_b
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mSearchString:Ljava/lang/String;

    if-eqz v1, :cond_c

    .line 318
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mSearchString:Ljava/lang/String;

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setSearchString(Ljava/lang/String;)V

    .line 320
    :cond_c
    iget v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mDeviceIdMask:I

    invoke-static {v1}, Lcom/inmobi/commons/IMCommonUtil;->setDeviceIDMask(I)V

    .line 321
    iget-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIsLocationAllowed:Z

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setLocationInquiryAllowed(Z)V

    .line 322
    iget-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIsTestMode:Z

    invoke-virtual {p1, v1}, Lcom/inmobi/androidsdk/IMAdRequest;->setTestMode(Z)V

    .line 323
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mLogLevel:Ljava/lang/String;

    invoke-static {v1}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->enableProperLogLevel(Ljava/lang/String;)V

    .line 324
    return-void
.end method

.method public bridge synthetic configure(Ljava/lang/Object;)V
    .locals 0
    .parameter "x0"

    .prologue
    .line 43
    check-cast p1, Lcom/inmobi/androidsdk/IMAdRequest;

    .end local p1
    invoke-virtual {p0, p1}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->configure(Lcom/inmobi/androidsdk/IMAdRequest;)V

    return-void
.end method

.method getAdUnit()I
    .locals 1

    .prologue
    .line 603
    iget v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAdUnit:I

    return v0
.end method

.method getAppId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 596
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAppId:Ljava/lang/String;

    return-object v0
.end method

.method isInterstitial()Z
    .locals 1

    .prologue
    .line 610
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIsInterstitial:Z

    return v0
.end method

.method public readParameters(Ljava/util/Map;)V
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "*>;)V"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IllegalArgumentException;
        }
    .end annotation

    .prologue
    .local p1, paramsFromServer:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;*>;"
    const/4 v2, -0x1

    .line 210
    invoke-virtual {p0, p1}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->applyClientTargetingIfAllowed(Ljava/util/Map;)V

    .line 213
    const-string v0, "appId"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAppId:Ljava/lang/String;

    .line 214
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAppId:Ljava/lang/String;

    const-string v1, "appId cannot be null"

    invoke-static {v0, v1}, Lcom/burstly/lib/util/Utils;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V

    .line 215
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->setInterstitial(Ljava/util/Map;)V

    .line 216
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIsInterstitial:Z

    if-nez v0, :cond_0

    .line 217
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->setAdSize(Ljava/util/Map;)V

    .line 220
    :cond_0
    const-string v0, "testMode"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIsTestMode:Z

    .line 221
    const-string v0, "logLevel"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mLogLevel:Ljava/lang/String;

    .line 224
    const-string v0, "age"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iput v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAge:I

    .line 225
    const-string v0, "areaCode"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mAreaCode:Ljava/lang/String;

    .line 226
    const-string v0, "dateOfBirth"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string v1, "dd/MM/yyyy"

    invoke-static {v0, v1}, Lcom/burstly/lib/util/Utils;->getDateFromString(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Date;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mDateOfBirth:Ljava/util/Date;

    .line 229
    const-string v0, "deviceIdMask"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->getDeviceId(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mDeviceIdMask:I

    .line 230
    const-string v0, "educationType"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->getEducationType(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mEducationType:Lcom/inmobi/androidsdk/IMAdRequest$EducationType;

    .line 231
    const-string v0, "ethnicityType"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->getEthnicityType(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mEthnicityType:Lcom/inmobi/androidsdk/IMAdRequest$EthnicityType;

    .line 232
    const-string v0, "genderType"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->getGenderType(Ljava/lang/String;)Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mGenderType:Lcom/inmobi/androidsdk/IMAdRequest$GenderType;

    .line 233
    const-string v0, "income"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/burstly/lib/util/Utils;->getIntValue(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iput v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIncome:I

    .line 234
    const-string v0, "interests"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mInterests:Ljava/lang/String;

    .line 235
    const-string v0, "keywords"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mKeywords:Ljava/lang/String;

    .line 236
    const-string v0, "postalCode"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mPostalCode:Ljava/lang/String;

    .line 237
    const-string v0, "searchString"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mSearchString:Ljava/lang/String;

    .line 238
    const-string v0, "locationAllowed"

    invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->mIsLocationAllowed:Z

    .line 240
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->extractIdType(Ljava/util/Map;)V

    .line 241
    invoke-direct {p0, p1}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiConfigurator;->extractCityStateCountryLocation(Ljava/util/Map;)V

    .line 242
    return-void
.end method
